<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GimpConfig-params: GIMP 3 Config Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GIMP 3 Config Library Reference Manual">
<link rel="up" href="pt01.html" title="Part I. GIMP Config Library">
<link rel="prev" href="libgimpconfig3-GimpConfigError.html" title="GimpConfig-error">
<link rel="next" href="libgimpconfig3-GimpConfig-path.html" title="GimpConfig-path">
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libgimpconfig3-GimpConfig-params.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libgimpconfig3-GimpConfigError.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgimpconfig3-GimpConfig-path.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libgimpconfig3-GimpConfig-params"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpconfig3-GimpConfig-params.top_of_page"></a>GimpConfig-params</span></h2>
<p>GimpConfig-params — Macros and defines to install config properties.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libgimpconfig3-GimpConfig-params.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-BOOLEAN:CAPS" title="GIMP_CONFIG_PROP_BOOLEAN()">GIMP_CONFIG_PROP_BOOLEAN</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-BOXED:CAPS" title="GIMP_CONFIG_PROP_BOXED()">GIMP_CONFIG_PROP_BOXED</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-DOUBLE:CAPS" title="GIMP_CONFIG_PROP_DOUBLE()">GIMP_CONFIG_PROP_DOUBLE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-ENUM:CAPS" title="GIMP_CONFIG_PROP_ENUM()">GIMP_CONFIG_PROP_ENUM</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-INT:CAPS" title="GIMP_CONFIG_PROP_INT()">GIMP_CONFIG_PROP_INT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-INT64:CAPS" title="GIMP_CONFIG_PROP_INT64()">GIMP_CONFIG_PROP_INT64</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-MATRIX2:CAPS" title="GIMP_CONFIG_PROP_MATRIX2()">GIMP_CONFIG_PROP_MATRIX2</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-MEMSIZE:CAPS" title="GIMP_CONFIG_PROP_MEMSIZE()">GIMP_CONFIG_PROP_MEMSIZE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-OBJECT:CAPS" title="GIMP_CONFIG_PROP_OBJECT()">GIMP_CONFIG_PROP_OBJECT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-PATH:CAPS" title="GIMP_CONFIG_PROP_PATH()">GIMP_CONFIG_PROP_PATH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-POINTER:CAPS" title="GIMP_CONFIG_PROP_POINTER()">GIMP_CONFIG_PROP_POINTER</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-RESOLUTION:CAPS" title="GIMP_CONFIG_PROP_RESOLUTION()">GIMP_CONFIG_PROP_RESOLUTION</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-RGB:CAPS" title="GIMP_CONFIG_PROP_RGB()">GIMP_CONFIG_PROP_RGB</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-STRING:CAPS" title="GIMP_CONFIG_PROP_STRING()">GIMP_CONFIG_PROP_STRING</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-UINT64:CAPS" title="GIMP_CONFIG_PROP_UINT64()">GIMP_CONFIG_PROP_UINT64</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-UINT:CAPS" title="GIMP_CONFIG_PROP_UINT()">GIMP_CONFIG_PROP_UINT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PROP-UNIT:CAPS" title="GIMP_CONFIG_PROP_UNIT()">GIMP_CONFIG_PROP_UNIT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GParamSpec</span> *
</td>
<td class="function_name">
<a class="link" href="libgimpconfig3-GimpConfig-params.html#gimp-config-param-spec-duplicate" title="gimp_config_param_spec_duplicate ()">gimp_config_param_spec_duplicate</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgimpconfig3-GimpConfig-params.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PARAM-SERIALIZE:CAPS" title="GIMP_CONFIG_PARAM_SERIALIZE">GIMP_CONFIG_PARAM_SERIALIZE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PARAM-AGGREGATE:CAPS" title="GIMP_CONFIG_PARAM_AGGREGATE">GIMP_CONFIG_PARAM_AGGREGATE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PARAM-RESTART:CAPS" title="GIMP_CONFIG_PARAM_RESTART">GIMP_CONFIG_PARAM_RESTART</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PARAM-CONFIRM:CAPS" title="GIMP_CONFIG_PARAM_CONFIRM">GIMP_CONFIG_PARAM_CONFIRM</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PARAM-DEFAULTS:CAPS" title="GIMP_CONFIG_PARAM_DEFAULTS">GIMP_CONFIG_PARAM_DEFAULTS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PARAM-IGNORE:CAPS" title="GIMP_CONFIG_PARAM_IGNORE">GIMP_CONFIG_PARAM_IGNORE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgimpconfig3-GimpConfig-params.html#GIMP-CONFIG-PARAM-FLAGS:CAPS" title="GIMP_CONFIG_PARAM_FLAGS">GIMP_CONFIG_PARAM_FLAGS</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgimpconfig3-GimpConfig-params.description"></a><h2>Description</h2>
<p>Macros and defines to install config properties.</p>
</div>
<div class="refsect1">
<a name="libgimpconfig3-GimpConfig-params.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-BOOLEAN:CAPS"></a><h3>GIMP_CONFIG_PROP_BOOLEAN()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_BOOLEAN(class, id, name, nick, blurb, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-BOXED:CAPS"></a><h3>GIMP_CONFIG_PROP_BOXED()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_BOXED(class, id, name, nick, blurb, boxed_type, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-DOUBLE:CAPS"></a><h3>GIMP_CONFIG_PROP_DOUBLE()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_DOUBLE(class, id, name, nick, blurb, min, max, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-ENUM:CAPS"></a><h3>GIMP_CONFIG_PROP_ENUM()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_ENUM(class, id, name, nick, blurb, enum_type, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-INT:CAPS"></a><h3>GIMP_CONFIG_PROP_INT()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_INT(class, id, name, nick, blurb, min, max, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-INT64:CAPS"></a><h3>GIMP_CONFIG_PROP_INT64()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_INT64(class, id, name, nick, blurb, min, max, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-MATRIX2:CAPS"></a><h3>GIMP_CONFIG_PROP_MATRIX2()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_MATRIX2(class, id, name, nick, blurb, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-MEMSIZE:CAPS"></a><h3>GIMP_CONFIG_PROP_MEMSIZE()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_MEMSIZE(class, id, name, nick, blurb, min, max, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-OBJECT:CAPS"></a><h3>GIMP_CONFIG_PROP_OBJECT()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_OBJECT(class, id, name, nick, blurb, object_type, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-PATH:CAPS"></a><h3>GIMP_CONFIG_PROP_PATH()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_PATH(class, id, name, nick, blurb, path_type, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-POINTER:CAPS"></a><h3>GIMP_CONFIG_PROP_POINTER()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_POINTER(class, id, name, nick, blurb, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-RESOLUTION:CAPS"></a><h3>GIMP_CONFIG_PROP_RESOLUTION()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_RESOLUTION(class, id, name, nick, blurb, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-RGB:CAPS"></a><h3>GIMP_CONFIG_PROP_RGB()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_RGB(class, id, name, nick, blurb, has_alpha, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-STRING:CAPS"></a><h3>GIMP_CONFIG_PROP_STRING()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_STRING(class, id, name, nick, blurb, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-UINT64:CAPS"></a><h3>GIMP_CONFIG_PROP_UINT64()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_UINT64(class, id, name, nick, blurb, min, max, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-UINT:CAPS"></a><h3>GIMP_CONFIG_PROP_UINT()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_UINT(class, id, name, nick, blurb, min, max, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PROP-UNIT:CAPS"></a><h3>GIMP_CONFIG_PROP_UNIT()</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PROP_UNIT(class, id, name, nick, blurb, pixels, percent, default, flags)</pre>
</div>
<hr>
<div class="refsect2">
<a name="gimp-config-param-spec-duplicate"></a><h3>gimp_config_param_spec_duplicate ()</h3>
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> *
gimp_config_param_spec_duplicate (<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
<p>Creates an exact copy of <em class="parameter"><code>pspec</code></em>
, with all its properties, returns
<code class="literal">NULL</code> if <em class="parameter"><code>pspec</code></em>
 is of an unknown type that can't be duplicated.</p>
<p>Return: (transfer full): The new <span class="type">GParamSpec</span>, or <code class="literal">NULL</code>.</p>
<div class="refsect3">
<a name="gimp-config-param-spec-duplicate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p>the <span class="type">GParamSpec</span> to duplicate</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
</div>
<div class="refsect1">
<a name="libgimpconfig3-GimpConfig-params.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GIMP-CONFIG-PARAM-SERIALIZE:CAPS"></a><h3>GIMP_CONFIG_PARAM_SERIALIZE</h3>
<pre class="programlisting">#define GIMP_CONFIG_PARAM_SERIALIZE    (1 &lt;&lt; (0 + G_PARAM_USER_SHIFT))
</pre>
<p>A property that can and should be serialized and deserialized.</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PARAM-AGGREGATE:CAPS"></a><h3>GIMP_CONFIG_PARAM_AGGREGATE</h3>
<pre class="programlisting">#define GIMP_CONFIG_PARAM_AGGREGATE    (1 &lt;&lt; (1 + G_PARAM_USER_SHIFT))
</pre>
<p>The object property is to be treated as part of the parent object.</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PARAM-RESTART:CAPS"></a><h3>GIMP_CONFIG_PARAM_RESTART</h3>
<pre class="programlisting">#define GIMP_CONFIG_PARAM_RESTART      (1 &lt;&lt; (2 + G_PARAM_USER_SHIFT))
</pre>
<p>Changes to this property take effect only after a restart.</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PARAM-CONFIRM:CAPS"></a><h3>GIMP_CONFIG_PARAM_CONFIRM</h3>
<pre class="programlisting">#define GIMP_CONFIG_PARAM_CONFIRM      (1 &lt;&lt; (3 + G_PARAM_USER_SHIFT))
</pre>
<p>Changes to this property should be confirmed by the user before
being applied.</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PARAM-DEFAULTS:CAPS"></a><h3>GIMP_CONFIG_PARAM_DEFAULTS</h3>
<pre class="programlisting">#define GIMP_CONFIG_PARAM_DEFAULTS     (1 &lt;&lt; (4 + G_PARAM_USER_SHIFT))
</pre>
<p>Don't serialize this property if it has the default value.</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PARAM-IGNORE:CAPS"></a><h3>GIMP_CONFIG_PARAM_IGNORE</h3>
<pre class="programlisting">#define GIMP_CONFIG_PARAM_IGNORE       (1 &lt;&lt; (5 + G_PARAM_USER_SHIFT))
</pre>
<p>This property exists for obscure reasons or is needed for backward
compatibility. Ignore the value read and don't serialize it.</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-CONFIG-PARAM-FLAGS:CAPS"></a><h3>GIMP_CONFIG_PARAM_FLAGS</h3>
<pre class="programlisting">#define             GIMP_CONFIG_PARAM_FLAGS</pre>
<p>The default flags that should be used for serializable <a class="link" href="libgimpconfig3-GimpConfig.html#GimpConfig" title="GimpConfig"><span class="type">GimpConfig</span></a>
properties.</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.0</div>
</body>
</html>